<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<jsp:useBean id="m" class="com.sam.Member" scope="session" ></jsp:useBean>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index Page</title>
</head>
<body>
這是首頁
	<c:choose>
		<c:when test="${m.loginIn() }">
			<a href="Logout.jsp">登出</a>
		</c:when>
		<c:otherwise>
			<a href="Login.jsp">登入</a>
		</c:otherwise>
	</c:choose>
	</br>
	<ul>
		<li><a href="Add_post.jsp">新增留言(Add_post.jsp)</a></li>
		<li><a href="List2.jsp">留言清單(List2.jsp)</a></li>
		<li><a href="Product_list.jsp">產品清單瀏覽(Product_list.jsp)</a></li>
	</ul>
</body>
</html>